﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace W1
{
    enum Cook
    {
        扬州炒饭,
        水煮肥牛,
        爆炒小龙虾
    }
    class CookRobot : Robot
    {
        private Cook ck;

        public Cook Ck
        {
            get { return this.ck; }
            set { this.ck = value; }

        }
        public CookRobot(string name, Cook ck) : base(name)
        {
            this.ck = ck;
        }
        public override void Working()
        {
            Console.WriteLine("{0}正在做{1}", this.name, this.ck);
        }
    }
}
